<div class="layui-form-item">
    <label class="layui-form-label">{$form.title} </label>
    <div class="layui-input-block">
        <input type="text" name="{$form.field}" value="<?php echo isset($info)?$info[$form['field']]:'';?>"
               placeholder="请输入{$form.title}" lay-verify="required" [type] class="layui-input" {if isset($info) && $form.mode == 3}disabled{/if}/>
    </div>
</div>